/**
 * 只负责渲染布局
 */

 import React from 'react';

import Header from '../components/Header';
import LeftTree from '../../../public/components/LeftTree';
import AddNewPage from '../components/AddNewPage';
import MainTable from '../components/MainTable';
import EmptyPage from '../../../../hrpub/common/components/emptyImg';

import SearchModal from '../components/SearchModal';
import OnlyInfoModal from '../components/OnlyInfoModal';
import SwitchToDocModal from '../components/SwitchToDocModal';
import QysChoose from '../components/QysChoose';
import BatchFileUploadModal from '../components/BatchFileUploadModal';
import BatchFileDownModel from '../components/BatchFileDownModel';
import FileManager from '../components/Uploader';
import EntryApplyModal from '../components/EntryApplyModal';

// 公共的组件
import SortModal from '../../../public/components/SortModal';
import BatchAddSub from '../../../public/components/BatchAddSub';
import RosterModal from '../../../public/components/RosterModal';
import BatchEditModal from '../../../public/components/BatchEdit/';

import WpsModal from '../../../../hrpub/common/components/wpsPreModel';
import CardView from '../../../../hrpub/common/components/card-view';
import ImportModal from '../components/ImportModal/index';
import {
    high,base,toast
} from 'nc-lightapp-front';

import language from '../language';

import instant from '../pageIns';
import "./index.less"

const {PrintOutput} = high;
const { NCRadio,NCModal,NCButton,NCFormControl,NCDatePicker } = base;
const NCRadioGroup = NCRadio.NCRadioGroup;
import sendemail from '../request-functions/sendemail';

 export default class Layout extends React.Component {
    constructor(props) {
        super(props);
        this.state = {
            showModal22: false,
            glbdef1:"",
            glbdef2:"",
            glbdef3:"",
            glbdef4:"",
            glbdef5:"",
            glbdef6:"",
            glbdef7:"",
            glbdef8:"",
            glbdef9:"",
            glbdef10:"",
            glbdef11:"",
            glbdef12:"",
            glbdef13:"01",
            begindate: "",
            currentName: "",
            mamName:'', // 只在新增页面作暂时，不传
            mobile:'', // 只在新增页面作暂时，不传,
            timeChuo:null
        }
    }
    
    componentDidMount(){
    }
    componentWillMount(){
        let dateTime
        let yy = new Date().getFullYear()
        let mm = new Date().getMonth() + 1
        let dd = new Date().getDate()
        dateTime = yy + '-' + mm + '-' + dd 
        console.log(dateTime)
        
        this.setState({
            begindate:dateTime
        });
    }
    resetStateData(){
        this.setState({
            glbdef1:"",
            glbdef2:"",
            glbdef3:"",
            glbdef4:"",
            glbdef5:"",
            glbdef6:"",
            glbdef7:"",
            glbdef8:"",
            glbdef9:"",
            glbdef10:"",
            glbdef11:"",
            glbdef12:"",
            mamName:'', // 只在新增页面作暂时，不传
            mobile:'' ,// 只在新增页面作暂时，不传
        });
    }
    onRadioChange = (value) => {
        console.log("当前选择了模板===",value)
        this.setState({ glbdef13:value });
    };
    async getMamName(){
        let data = this.props.editTable.getCheckedRows('ncc600704list', true);
        let postData = {
        };
        let pk_psndoc = [];
        let name =''
        data.map((item) => {
            if (item && item.data && item.data.values && item.data.values.pk_psndoc && item.data.values.pk_psndoc.value) {
                pk_psndoc.push(item.data.values.pk_psndoc.value);
                name = item.data.values.pk_psndoc.display
            }
        });
        if (pk_psndoc.length == 0) {
            toast({
                color: 'warning',
                content: "请先选择数据！"
            });
            return;
        }
        postData["pk_psndoc"] = pk_psndoc[0];
        try {
            let res = await sendemail(postData,5);
            if(res.success) {
                toast({
                    color: 'success',
                    content: '请求成功'/* 国际化处理： 保存成功*/
                });
                this.resetStateData()
                this.setState({ 
                    showModal22 : true,
                    glbdef1:res.data.effectDate,
                    mamName:res.data.mamName,
                    mobile:res.data.mobile,
                    glbdef3:res.data.glbdef11,
                    glbdef4:res.data.glbdef3,
                    glbdef5:res.data.begindate,
                    currentName:name,
                    email:res.data.email
                });
            } else {
                toast({
                    color: 'error',
                    content: res.data.msg || "请求失败"/* 国际化处理： 保存成功*/
                });
            }
        }
        catch(e) {
        }
    }
    radioSure = () => {
        console.log("===radioSure===")
        let data = this.props.editTable.getCheckedRows('ncc600704list', true);
        let name = "";
        data.map((item) => {
            if (item && item.data && item.data.values && item.data.values.pk_psndoc && item.data.values.pk_psndoc.display) {
                name = item.data.values.pk_psndoc.display
            }
        });
        this.getMamName()
        this.setState({ showModal22 : true,currentName:name });
    };
    close2 = () => {
        this.props.modal.show("yuruzhiQcodeModal");
        this.setState({ showModal22 : false ,currentName:''});
    };
    showsxs = (res) => {
        this.getMamName()
        console.log(res)
        // this.resetStateData();
        // this.getMamName()
        // this.setState({ showModal22 : true });
    }
    dialogSure = () => {
        console.log("点击确定保存=====")
        this.sendemail();
    };
    onChangeglbdef = (value,e) =>{
        console.log("==onChangeglbdef==",value)
        let key = "glbdef"+e;
        this.setState({  [key] : value })
    };

    // 发邮件
    async sendemail() {
        debugger
        let data = this.props.editTable.getCheckedRows('ncc600704list', true);
        let postData = {
        };
        let pk_psndoc = [];
        data.map((item) => {
            if (item && item.data && item.data.values && item.data.values.pk_psndoc && item.data.values.pk_psndoc.value) {
                pk_psndoc.push(item.data.values.pk_psndoc.value);
            }
        });
        if (pk_psndoc.length == 0) {
            toast({
                color: 'warning',
                content: "请先选择数据！"
            });
            return;
        }
        postData["pk_psndoc"] = pk_psndoc[0];
        let { glbdef1,glbdef2,glbdef3,glbdef4,glbdef5,glbdef6,glbdef7,glbdef8,glbdef9,glbdef10,glbdef11,glbdef12,glbdef13,begindate } = this.state;
        postData["glbdef1"] = glbdef1;
        postData["glbdef2"] = glbdef2;
        postData["glbdef3"] = glbdef3;
        postData["glbdef4"] = glbdef4;
        postData["glbdef5"] = glbdef5;
        postData["glbdef6"] = glbdef6;
        postData["glbdef7"] = glbdef7;
        postData["glbdef8"] = glbdef8;
        postData["glbdef9"] = glbdef9;
        postData["glbdef10"] = glbdef10;
        postData["glbdef11"] = glbdef11;
        postData["glbdef12"] = glbdef12;
        postData["glbdef13"] = glbdef13;
        postData["begindate"] = begindate;
        try {
            let res = await sendemail(postData,3);
            if(res.data && res.data.flag == '0') {
                toast({
                    color: 'success',
                    content: '操作成功'/* 国际化处理： 保存成功*/
                });
                this.setState({ showModal22 : false });
                // this.resetStateData()
            } else {
                toast({
                    color: 'error',
                    content: res.data.msg || "请求失败"/* 国际化处理： 保存成功*/
                });
            }
        }
        catch(e) {

        }
    }
    modalContent1 = () => {
        return (
            <div>
                <NCRadioGroup
                    selectedValue={this.state.glbdef13}
                    name='language'
                    onChange={this.onRadioChange}
                    style={{height:'200px'}}
                >
                    <NCRadio value='01'>销售人员offer模板（P线/M线）</NCRadio>
                    <NCRadio value='02'>社招人员offer模板（服务条线）</NCRadio>
                    <NCRadio value='03'>技术人员offer模板（技术条线）</NCRadio>
                    <p><NCRadio value='04'>实习生offer模板</NCRadio></p>
                    <br></br>
                    <div>
                        邮箱：{this.email || '暂无数据'}
                    </div>
                </NCRadioGroup>
            </div>
        );
    };
    
    render() {

        const props = this.props;

        const {
            humanResourceOrganizationValue,
            page,
            hasSearched,
            pageInfo,
            showTableCheckbox,
            addPageTemplate,
            pageFrom,
            imageData,
            subTableEditable,
            searchModalVisible,
            onlyInfoModalVisible,
            queryOid,
            sortModalVisible,
            batchFileDownModelVisiable,
            batchFileDownModeltreeData,
            QysChooseModalVisible,
            QysChooseModalValue,
            switchToDocModalVisible,
            currentSelectDepartment,
            uniqueFields,
            batchEditModalVisible,
            selectedRows,
            batchAddSubVisible,
            include_child_depts,
            include_child_orgs,
            include_child_psncl,
            show_all_info,
            rosterModalVisible,
            show_on_job_psn,
            showUploader,
            printData,
            meta,
            editTable,
            form,
            asyncTree,
            MultiInit,
            clickRow,
            mainTableHeight,
            entryApplyModalVisible,
            entryApplyListPks,
            pageHeight,
            photoRequired,
            importModalVisible,
            DragWidthCom
        } = props;

        const rosterPks = props.getSelectedField('pk_psnjob', true);
        let darkTheme = document.body.className.includes('c-lightapp-front-black');
        const { modal } = this.props;
        let { createModal, show } = modal;
        let { glbdef1,glbdef2,glbdef3,glbdef4,glbdef5,glbdef6,glbdef7,glbdef8,glbdef9,glbdef10,glbdef11,glbdef12,glbdef13,begindate,currentName,mamName,mobile } = this.state;
        return (
            <div 
                className="nc-bill-tree-table entry-mng-page"
                style={{
                    height: 'auto'
                }}
            >
                <Choose>
                    <When condition={page === 'main' || page === 'adjust-sort'}>
                        <div className="main-page">
                            <Header
                                {...this.props}
                                pageInfo={pageInfo}
                                page={page}
                                ref={ref => this.headerRef = ref}
                                updateState={props.updateState}
                                humanResourceOrganizationValue={humanResourceOrganizationValue}
                                getMainTableData={props.getMainTableData}
                                hasSearched={hasSearched}
                                selectedRows={selectedRows}
                                getRef={props.getRef}
                                toEditPage={props.toEditPage}
                                deleteMainTableRow={props.deleteMainTableRow}
                                batchAddSub={props.batchAddSub}
                                include_child_depts={include_child_depts}
                                include_child_orgs={include_child_orgs}
                                goBackToMainPage={props.goBackToMainPage}
                                print={props.print}
                                fileManager={props.fileManager}
                                printOutput={props.printOutput}
                                setButtonStatus2={props.setButtonStatus2}
                                entryApply={props.entryApply}
                                relativeQueryCard={props.relativeQueryCard}
                                showsxs={this.showsxs}
                            />
                            <div className="tree-table entry-mng-page-content"
                            style={{display: humanResourceOrganizationValue.refpk ? 'block' : 'none'}}
                            >
                                <DragWidthCom
                                leftDom={
                                    <div 
                                    className="left-content"
                                    style={{
                                        height: `${pageHeight - 77}px`,
                                        display: humanResourceOrganizationValue.refpk ? 'block' : 'none',
                                        borderColor: darkTheme ? '#39393f' : '#d7d7d7'
                                    }}
                                >
                                    <LeftTree
                                        treeType="orgRange"
                                        asyncTree={asyncTree}
                                        onSelect={props.selectTree}
                                        pk_org={humanResourceOrganizationValue.refpk}
                                        treeId="departmentTree"
                                        MultiInit={MultiInit}
                                    />
                                </div>
                                }
                                rightDom={
                                    <div 
                                    className="right-content"
                                    ref={ref => instant.rightRef = ref}
                                    style={{
                                        width: humanResourceOrganizationValue.refpk ? 'auto' : '100%',
                                        // marginLeft: humanResourceOrganizationValue.refpk ? '250px' : 0,
                                        height: `${pageHeight - 77}px`,
                                    }}
                                >
                                    <Choose>
                                        <When condition={humanResourceOrganizationValue.refpk}>
                                            <MainTable
                                                {...props}
                                                updateState={props.updateState}
                                                handleTableSelect={props.handleTableSelect}
                                                getMainTableData={props.getMainTableData}
                                                pageInfo={pageInfo}
                                                showTableCheckbox={showTableCheckbox}
                                                toEditPage={props.toEditPage}
                                                selectAll={props.selectAll}
                                                page={page}
                                                pageHeight={pageHeight}
                                            />
                                        </When>
                                        <Otherwise>
                                            <EmptyPage
                                                height={456}
                                                text={language['hi6007-000191']/** 暂无数据，请先选择人力组织 */}
                                            />
                                        </Otherwise>
                                    </Choose>
                                </div>
                                }
                                defLeftWid='20%'    // 默认左侧区域宽度，px/百分百
                                leftMinWid='180px'    
                                />
                            </div>
                        </div>
                    </When>
                    <When condition={page === 'add-new'}>
                        <AddNewPage
                            {...props}
                            updateState={props.updateState}
                            addPageTemplate={addPageTemplate}
                            goBackToMainPage={props.goBackToMainPage}
                            pageFrom={pageFrom}
                            humanResourceOrganizationValue={humanResourceOrganizationValue}
                            copyRow={props.copyRow}
                            deleteRow={props.deleteRow}
                            addRow={props.addRow}
                            imageData={imageData}
                            cancelEdit={props.cancelEdit}
                            subTableEditable={subTableEditable}
                            getModifyData={props.getModifyData}
                            selectedRows={selectedRows}
                            setButtonStatus2={props.setButtonStatus2}
                            toEditPage={props.toEditPage}
                            setUpLoaderRef={props.setUpLoaderRef}
                            getRef={props.getRef}
                        />
                    </When>
                </Choose>
                <SearchModal
                    {...props}
                    updateState={props.updateState}
                    searchModalVisible={searchModalVisible}
                    getMainTableData={props.getMainTableData}
                />
                <OnlyInfoModal
                    {...props}
                    onlyInfoModalVisible={onlyInfoModalVisible}
                    updateState={props.updateState}
                    queryOid={queryOid}
                    humanResourceOrganizationValue={humanResourceOrganizationValue}
                    currentSelectDepartment={currentSelectDepartment}
                    uniqueFields={uniqueFields}
                    copyRow={props.copyRow}
                    deleteRow={props.deleteRow}
                    pasteRow={props.pasteRow}
                    addRow={props.addRow}
                    processEditPageTemplate={props.processEditPageTemplate}
                    setButtonStatus2={props.setButtonStatus2}
                />
                <SortModal
                    {...props}
                    visible={sortModalVisible}
                    onSure={props.sortModalOnSure}
                    onClose={props.toggleModal('sortModalVisible', false)}
                    templateId="sort"
                    func_type={1}
                />

                <QysChoose
                    {...props}
                    QysChooseModalVisible={QysChooseModalVisible}
                    QysChooseModalValue={QysChooseModalValue}
                    updateState={props.updateState}
                />
                <SwitchToDocModal
                    {...props}
                    switchToDocModalVisible={switchToDocModalVisible}
                    updateState={props.updateState}
                    humanResourceOrganizationValue={humanResourceOrganizationValue}
                    getMainTableData={props.getMainTableData}
                />
                <BatchEditModal
                    {...props}
                    batchEditModalVisible={batchEditModalVisible}
                    updateState={props.updateState}
                    ref={ref => this.batchEdit = ref}
                    humanResourceOrganizationValue={humanResourceOrganizationValue}
                    selectedRows={selectedRows}
                    func_type={1}
                />
                <BatchAddSub
                    {...props}
                    meta={meta}
                    editTable={editTable}
                    form={form}
                    visible={batchAddSubVisible}
                    func_type={1}
                    param_str={props.getSelectedField('pk_psnjob').join(',')}
                    pk_org={humanResourceOrganizationValue.refpk}
                    onClose={props.toggleModal('batchAddSubVisible')}
                />
                <RosterModal
                    {...props}
                    orgVal={humanResourceOrganizationValue}
                    queryOid={queryOid}
                    tree_node_id={currentSelectDepartment}
                    include_child_depts={include_child_depts}
                    include_child_orgs={include_child_orgs}
                    include_child_psncl={include_child_psncl}
                    show_all_info={show_all_info}
                    show_on_job_psn={show_on_job_psn}
                    visible={rosterModalVisible}
                    onClose={props.toggleModal('rosterModalVisible', false)}
                    rosterPks={rosterPks && rosterPks.join(',')}
                    func_type={1}
                />
                <If condition={showUploader}>
                    <FileManager
                        table={editTable}
                        onClose={props.toggleModal('showUploader', false)} 
                        clickRow={clickRow}               
                    />
                </If>
                <PrintOutput
                    ref={ref => this.printOutputRef = ref}
                    url={'/nccloud/hrhi/psndoc/PsndocTemplatePrintAction.do'}
                    data={printData}
                />
                <EntryApplyModal
                    {...props}
                    updateState={props.updateState}
                    entryApplyModalVisible={entryApplyModalVisible}
                    orgVal={humanResourceOrganizationValue}
                    entryApplyListPks={entryApplyListPks}
                />
                <WpsModal
                    {...props}
                    onRef ={props.getWpsRefInstants}
                    appcode={'60071010'}
                    pk_org={humanResourceOrganizationValue}
                   
                />
                <CardView
                    {...props}
                    onRef={props.getRefInstants}
                />
                 <ImportModal
                    {...props}
                    visible={importModalVisible}
                    orgVal={humanResourceOrganizationValue}
                    onClose={props.toggleModal('importModalVisible', false)}
                    getMainTableData={props.getMainTableData}
                />
                <BatchFileUploadModal
                    {...props}
                />
                <BatchFileDownModel
                    {...props}
                    batchFileDownModelVisiable={batchFileDownModelVisiable}
                    batchFileDownModeltreeData={batchFileDownModeltreeData}
                />
                {createModal('yuruzhiQcodeModal', {
                    title: 'offer模板',
                    content: this.modalContent1(),
                    size: 'sm',
                    beSureBtnClick: this.radioSure,
                })}
                {/*  width="400" */}
                <NCModal show={this.state.showModal22} onHide={this.close2} size={"xlg"}>
                    <NCModal.Header closeButton>
                        <NCModal.Title>成都新潮传媒集团任用邀请函</NCModal.Title>
                    </NCModal.Header>
                    {/* dofferSty1 {  margin:0pt; orphans:0; text-align:justify; widows:0 } */}
                    {/* dofferSty2 { font-size:'10.5px'; font-family:'微软雅黑'; */}
                    {/* dofferSty3 { font-weight: bold;  <=====>  dofferSty4 background-color: "#ffff00" ;*/}
                    {/* dofferSty5 { margin: 0px 0px 0px 21px; orphans: 0; text-align: justify; widows: 0; text-indent:"-21px"; */}
                    {/* dofferSty7 { margin: 0px; orphans: 0; widows: 0; */}
                    {/* dofferSty8 { text-align: center */}
                    <NCModal.Body>
                        {glbdef13 == "04" ? 
                        <div>
                            <h3 style={{ fontSize:'16px',textAlign:'center' }} >
                                <span style={{ fontSize:'16px',fontWeight:'bold' }}>成都新潮传媒集团任用邀请函</span></h3>
                            <p style={{ textAlign:'justify',orphans:0,textIndent:"40px",widows:0 }}>
                                <span className='dofferSty2 dofferSty3'>{ currentName || "--" }</span><span className='dofferSty2'>      </span><span style={{ fontSize:'10.5px',fontFamily:'微软雅黑' }}>女士/先生 ：</span></p>
                                <p className='dofferSty1'><span className='dofferSty2'>您好！</span></p>
                                <p className='dofferSty1'><span className='dofferSty2'>非常荣幸地通知您，经过部门慎重沟通考虑，一致认为您符合实习生岗位任用条件，公司决定予以任用。</span></p>
                                <p className='dofferSty1'><span className='dofferSty2'>热忱欢迎您加入成都新潮传媒集团（以下简称：新潮传媒）大家庭，我们更期盼您在新潮传媒的平台上淋漓尽致地发挥自己的智慧和才能，与我们的伙伴一起创造更美好的未来！</span></p>
                                <p className='dofferSty14'><span className='dofferSty2'>一、</span><span className='dofferSty2 dofferSty3'>任用邀请函有效期限:</span><span className='dofferSty2'> </span>
                                <span className='dofferSty2 dofferSty4'>【 </span><NCFormControl onChange={(value)=>{ this.onChangeglbdef(value,11)} } className='dofferSty2 dofferSty4' value={ glbdef11 }/> <span className='dofferSty2 dofferSty4'>】</span></p>
                                <p className='dofferSty5'><span className='dofferSty2 dofferSty3'>二、</span><span className='dofferSty2 dofferSty3'>协议约定：</span></p>
                                <p className='dofferSty1'><span className='dofferSty2'>薪酬待遇：月度实习津贴为</span><span className='dofferSty2 dofferSty4'>【</span><NCFormControl onChange={(value)=>{ this.onChangeglbdef(value,12)} } className='dofferSty2 dofferSty4 dofferStyW50' value={ glbdef12 } />
                                    <span className='dofferSty2 dofferSty4'>】</span><span className='dofferSty1'>元，实习期间公司将为您在公司所取得的津贴代扣代缴。个人所得税，税金由个人承担。</span></p>
                                <p className='dofferSty1'><span className='dofferSty2'>福利待遇：幸福公社奖品、员工旅游、节假日礼品、纪念日</span><span className='dofferSty2'>/生日礼品、员工互助关爱奖金、健康体检等福利，具体根据公司福利政策执行。</span></p>
                                <p className='dofferSty1'><span className='dofferSty2'>休假：不低于国家法定节假日和按照公司人力资源政策执行。</span></p>
                                <p className='dofferSty1'><span className='dofferSty2'>工作时间：每周五天（</span><span className='dofferSty2'>40 小时）工作制，周末双休。另外如果因工作需要，您可能会灵活安排工作时间。</span></p>
                                <p className='dofferSty1'><span className='dofferSty2'>培训学习：入职报到后，公司将为您提供相关的岗前入职培训，包括：公司的规章制度及岗位</span><span className='dofferSty2'>/业务相关的培训，并安排工作引导人对您进行工作指导及协助，帮助您快速融入工作环境，独立开展岗位工作。</span></p>
                                <p className='dofferSty1'><span className='dofferSty2'>到岗时间：</span><span className='dofferSty2 dofferSty4'>【 </span><div style={{display:'inline-block'}}><NCDatePicker onChange={(value) => { this.onChangeglbdef(value, 5) }} className='dofferSty2 dofferSty4 dofferStyW50' value={glbdef5} /></div><span className='dofferSty2 dofferSty4'>】</span></p>
                                <p className='dofferSty5'><span className='dofferSty2 dofferSty3'>三、</span><span className='dofferSty2 dofferSty3'>任用邀请函正式生效条件：</span></p>
                                <p className='dofferSty1'><span className='dofferSty2'>1.</span><span className='dofferSty6'></span><span className='dofferSty2'>在“</span><span className='dofferSty2'>工作意向协议书有效时间</span><span className='dofferSty2'>”内正式书面回复；</span></p>
                                <p className='dofferSty1'><span className='dofferSty2'>2.</span><span className='dofferSty6'></span><span className='dofferSty2'>您的身体健康状况符合相关标准；</span></p>
                                <p className='dofferSty1'><span className='dofferSty2'>3.</span><span className='dofferSty6'></span>
                                <span className='dofferSty2'>您提供的简历及相关资料（如工作经历、任职经历、学历或资格证书等）均为真实、有效；</span></p>
                                <p className='dofferSty1'><span className='dofferSty2'>4.</span><span className='dofferSty6'></span><span className='dofferSty2'>您能够在约定时限内到公司报到；</span></p>
                                <p className='dofferSty1'><span className='dofferSty2'>5.</span><span className='dofferSty6'></span><span className='dofferSty2'>您愿意接受以上所有条款并愿意接受公司经协商后的工作安排。</span></p>
                                <p className='dofferSty1'><span className='dofferSty2'>6.</span><span className='dofferSty6'></span><span className='dofferSty2'>如您未能通过公司要求的背景调查；或入职报到时，您个人须提供的资料不齐全或虚假的（注：情况特殊者，可事先向人力资源部说明具体情况，报公司审批。），本任用邀请函自动失效。</span></p>
                                <p className='dofferSty1'><span className='dofferSty2'>7.</span><span className='dofferSty6'></span><span className='dofferSty2'>如</span><span className='dofferSty2'>果在实习期间您被证明不符合录用条件，公司可立即无偿解除实习协议。</span></p><p className='dofferSty1'><span className='dofferSty2'>以上任意条件未满足的，本工作意向协议书自动终止与失效。如与本人已签订相关协议或合同，部分条款或全部条款也自动失效。</span></p><p className='dofferSty1'><span className='dofferSty2'>请您在本协议的正本复本签名进行确认，并将复本交还给新潮传媒。</span></p>
                                <p className='dofferSty1'><span className='dofferSty2'>我们期待着与您共创新潮传媒美好明天！</span></p><p className='dofferSty10'><span className='dofferSty2 dofferSty3'>新潮传媒集团</span><span className='dofferSty2 dofferSty3'> 人力行政中心</span></p>
                                <p className='dofferSty10'><span className='dofferSty2 dofferSty3'>{ begindate }</span></p>
                                <p className='dofferSty1'><span className='dofferSty2 dofferSty3'>条款协议声明（邮件等书面回复均可）</span></p>
                                <p className='dofferSty1'><span className='dofferSty2'>本人同意并接受以上所列之条款与内容。</span></p>
                                <p className='dofferSty1'><span className='dofferSty2'>姓名</span><span className='dofferSty2'>:</span></p>
                                <p className='dofferSty7'><span className='dofferSty2'>签字</span><span className='dofferSty2'>: </span><span className='dofferSty2'>                                        </span><span className='dofferSty2'>日期: </span></p>
                                <p className='dofferSty7 dofferSty8'><span className='dofferSty2'>&#xa0;</span></p>
                                <p className='dofferSty7 dofferSty8'><span className='dofferSty2'>&#xa0;</span></p>
                                <p className='dofferSty7 dofferSty8'><span className='dofferSty2 dofferSty3'>报到注意事项</span></p>
                                <p className='dofferSty1'><span className='dofferSty2'>现通知您于约定时间到新潮传媒办理报到手续。</span></p>
                                <p className='dofferSty1'><span className='dofferSty2'>联系人：</span><span className='dofferSty2 dofferSty4'>【</span><NCFormControl onChange={(value)=>{ this.onChangeglbdef(value,6)} } className='dofferSty2 dofferSty4 dofferStyW50' value={ glbdef6 }/><span className='dofferSty2 dofferSty4'>】</span>
                                    <span className='dofferSty2'>（联系方式：</span><span className='dofferSty2 dofferSty4'>【</span><NCFormControl onChange={(value)=>{ this.onChangeglbdef(value,7)} } className='dofferSty2 dofferSty4 dofferStyW50' value={ glbdef7 }/>
                                    <span className='dofferSty2 dofferSty4'>】</span><span className='dofferSty2 dofferSty4'>）</span><span className='dofferSty2'>。</span></p>
                                <p className='dofferSty5'><span className='dofferSty2'>一、</span><span className='dofferSty2'>请您务必提前仔细阅读以下内容，以便顺利办理报到手续：</span></p>
                                <p className='dofferSty5'><span className='dofferSty2'>○</span><span className='dofferSty9'>&#xa0;&#xa0;&#xa0;&#xa0;</span><span className='dofferSty2'>身份证正本（查看）及正反面复印件 1 份（收取）</span></p>
                                <p className='dofferSty5'><span className='dofferSty2'>○</span><span className='dofferSty9'>&#xa0;&#xa0;&#xa0;&#xa0;</span><span className='dofferSty2'>学生证正本（查看）及复印件 1 份（收取）</span></p>
                                <p className='dofferSty5'><span className='dofferSty2'>○</span><span className='dofferSty9'>&#xa0;&#xa0;&#xa0;&#xa0;</span><span className='dofferSty2'>1 寸标准照片 2 张</span></p>
                                <p className='dofferSty5'><span className='dofferSty2'>○</span><span className='dofferSty9'>&#xa0;&#xa0;&#xa0;&#xa0;</span><span className='dofferSty2'>体检证明原件</span></p>
                                <p className='dofferSty5'><span className='dofferSty2'>○</span><span className='dofferSty9'>&#xa0;&#xa0;&#xa0;&#xa0;</span>
                                    <span className='dofferSty2 dofferSty4'>【 </span><NCFormControl onChange={(value)=>{ this.onChangeglbdef(value,8)} } className='dofferSty2 dofferSty4 dofferStyW50' value={ glbdef8 } /><span className='dofferSty2 dofferSty4'>】</span>
                                    <span className='dofferSty2'>银行卡（自行办理）</span></p><p className='dofferSty5'><span className='dofferSty2'>二、</span><span className='dofferSty2'>体检报告</span></p>
                                <p className='dofferSty5'><span className='dofferSty2'>○</span><span className='dofferSty9'>&#xa0;&#xa0;&#xa0;&#xa0;</span><span className='dofferSty2'>以</span>
                                    <span className='dofferSty2'>入职时间</span><span className='dofferSty2'>计算 1 个月内正规医疗机构体检报告。</span></p><p className='dofferSty5'><span className='dofferSty2'>三、</span><span className='dofferSty2'>须知：</span></p>
                                <p className='dofferSty1'><span className='dofferSty2'>公司地址：</span><span className='dofferSty2 dofferSty4'>【 </span><NCFormControl onChange={(value)=>{ this.onChangeglbdef(value,9)} } className='dofferSty2 dofferSty4 dofferStyW50' value={ glbdef9 }/><span className='dofferSty2 dofferSty4'>】</span></p>
                                <p className='dofferSty1'><span className='dofferSty2'>网站地址：</span><span className='dofferSty2'>www.xinchao.com</span></p><p className='dofferSty1'>
                                    <span className='dofferSty2'>联系方式：</span><span className='dofferSty2 dofferSty4'>【 </span><NCFormControl onChange={(value)=>{ this.onChangeglbdef(value,10)} } className='dofferSty2 dofferSty4 dofferStyW50' value={ glbdef10 }/><span className='dofferSty2 dofferSty4'>】</span></p>
                                <p className='dofferSty1'><span className='dofferSty2'>工作时间：五天工作制。工作时间：上午</span><span className='dofferSty2'> 9:00-12:00，下午 13:30-18:00。其中 12:00-13:30 为午餐、休息时间（午餐自理，建议个人自带餐具）</span></p>
                                <p className='dofferSty1'><span className='dofferSty2'>&#xa0;</span></p>
                        </div>
                        : glbdef13 == "03" ?
                            <div>
                                <h3 style={{ fontSize:'16px',textAlign:'center' }}><span style={{ fontSize:'16px',fontWeight:'bold' }}>成都新潮传媒集团工作意向协议书</span></h3>
                                <p className='dofferSty1'><span className='dofferSty2'>尊敬的：</span><span className='dofferSty2 dofferSty3'>{ currentName || "--" }</span><span className='dofferSty2'>      </span><span className='dofferSty2'> 女士/先生 ：</span></p>
                                <p className='dofferSty1'><span className='dofferSty2'>您好！</span></p><p className='dofferSty1'><span className='dofferSty2'>非常高兴向您发出</span><span className='dofferSty2 dofferSty3'>成都新潮传媒集团</span><span className='dofferSty2'>（以下简称：</span><span className='dofferSty2 dofferSty3'>新潮传媒</span><span className='dofferSty2'>）的工作意向协议书，具体内容如下：</span></p>
                                <p className='dofferSty14'><span className='dofferSty2 dofferSty3'>一、</span><span className='dofferSty2 dofferSty3'>工作意向协议书有效期限：</span>
                                    <span className='dofferSty2 dofferSty4'>【 </span><NCFormControl onChange={(value)=>{ this.onChangeglbdef(value,1)} } className='dofferSty2 dofferSty4 dofferStyW50' value={ glbdef1 } /><span className='dofferSty2 dofferSty4'>】</span></p>
                                <p className='dofferSty5'><span className='dofferSty2 dofferSty3'>二、</span><span className='dofferSty2 dofferSty3'>劳动合同签订期限：</span>
                                    <span className='dofferSty2 dofferSty4'>【</span><NCFormControl onChange={(value)=>{ this.onChangeglbdef(value,2)} } className='dofferSty2 dofferSty4 dofferStyW50' value={ glbdef2 } /><span className='dofferSty2 dofferSty4'>】</span><span className='dofferSty2 dofferSty3'>年</span></p><p className='dofferSty5'><span className='dofferSty2 dofferSty3'>三、</span><span className='dofferSty2 dofferSty3'>协议约定：</span></p>
                                <p className='dofferSty1'><span className='dofferSty2'>为便于您更好的融入新潮团队，特为您安排入职 {mamName}</span><span className='dofferSty2'> </span><span className='dofferSty2'> </span><span className='dofferSty2'>     </span><span className='dofferSty2'>（联系方式：</span><span className='dofferSty2'>{mobile} </span><span className='dofferSty2'>），您关于公司、工作内容、业务资料等各类疑惑都可向导师咨询。</span></p><p className='dofferSty1'><span className='dofferSty2 dofferSty3'>岗位名称：</span><span className='dofferSty2 dofferSty3'> </span></p>
                                <p className='dofferSty1'><span className='dofferSty2 dofferSty3'>所属团队：</span><span className='dofferSty2 dofferSty3'> </span></p><p className='dofferSty1'><span className='dofferSty2 dofferSty3'>直接上级：</span><span className='dofferSty2'> </span></p>
                                <p className='dofferSty1'><span className='dofferSty2 dofferSty3'>岗位职责：</span><span className='dofferSty2'>另附</span></p><p className='dofferSty1'><span className='dofferSty2 dofferSty3'>薪酬待遇：</span><span className='dofferSty2'>月度薪酬试用期为工资</span>
                                    <span className='dofferSty2 dofferSty4'>【</span><NCFormControl onChange={(value)=>{ this.onChangeglbdef(value,3)} } className='dofferSty2 dofferSty4 dofferStyW50' value={ glbdef3 } /><span className='dofferSty2 dofferSty4'>    </span><span className='dofferSty2 dofferSty4'>  </span><span className='dofferSty2 dofferSty4'>】</span><span className='dofferSty2'>元，转正工资为</span>
                                    <span className='dofferSty2 dofferSty4'>【</span><NCFormControl onChange={(value)=>{ this.onChangeglbdef(value,4)} } className='dofferSty2 dofferSty4 dofferStyW50' value={ glbdef4 } /><span className='dofferSty2 dofferSty4'>    </span><span className='dofferSty2 dofferSty4'>  </span><span className='dofferSty2 dofferSty4'>】</span><span className='dofferSty2'>年终奖金基数为</span><span className='dofferSty2'> </span><span className='dofferSty2'>      </span><span className='dofferSty2'>元，根据公司整体效益及员工绩效系数综合评定后核发。聘用期间公司将为您在公司所取得的工资薪金代扣代缴，个人所得税，税金由个人承担。股权激励等激励性收入根据公司政策另行执行。</span></p>
                                <p className='dofferSty1'><span className='dofferSty2 dofferSty3'>福利待遇：</span><span className='dofferSty2'>五险一金、幸福公社奖品、员工旅游、节假日礼品、入职。纪念日</span><span className='dofferSty2'>/生日礼品、员工互助关爱奖金、健康体检等福利，具体根据公司福利政策执行。</span></p><p className='dofferSty1'><span className='dofferSty2 dofferSty3'>年假</span><span className='dofferSty2 dofferSty3'>/休假：</span><span className='dofferSty2'>不低于国家法定节假日和按照公司人力资源政策执行。</span></p><p className='dofferSty1'><span className='dofferSty2 dofferSty3'>工作时间：</span><span className='dofferSty2'>每周五天（</span><span className='dofferSty2'>40 小时）工作制，周末双休。另外如果因工作需要，您可能会灵活安排工作时间。</span></p>
                                <p className='dofferSty1'><span className='dofferSty2 dofferSty3'>培训学习：</span><span className='dofferSty2'>入职报到后，公司将为您提供相关的岗前入职培训，包括：公司的规章制度及岗位</span><span className='dofferSty2'>/业务相关的培训，并安排工作引导人对您进行工作指导及协助，帮助您快速融入工 作环境，独立开展岗位工作。</span></p><p className='dofferSty1'><span className='dofferSty2 dofferSty3'>到岗时间：</span>
                                    <span className='dofferSty2 dofferSty4'>【 </span><div style={{display:'inline-block'}}><NCDatePicker onChange={(value) => { this.onChangeglbdef(value, 5) }} className='dofferSty2 dofferSty4 dofferStyW50' value={glbdef5} /></div><span className='dofferSty2 dofferSty4'>】</span></p>
                                <p className='dofferSty5'><span className='dofferSty2 dofferSty3'>四、</span><span className='dofferSty2 dofferSty3'>工作意向协议书正式生效条件：</span></p><p className='dofferSty1'><span className='dofferSty2'>1.</span><span className='dofferSty6'></span><span className='dofferSty2'>在“工作意向协议书有效期限”内正式书面回复；</span></p>
                                <p className='dofferSty1'><span className='dofferSty2'>2.</span><span className='dofferSty6'></span><span className='dofferSty2'>您的身体健康状况符合相关标准；</span></p><p className='dofferSty1'><span className='dofferSty2'>3.</span><span className='dofferSty6'></span><span className='dofferSty2'>您提供的简历及相关资料（如工作经历、任职经历、学历或资格证书等）均为真实、有效；</span></p><p className='dofferSty1'><span className='dofferSty2'>4.</span><span className='dofferSty6'></span><span className='dofferSty2'>您能够在约定时限内到公司报到；</span></p>
                                <p className='dofferSty1'><span className='dofferSty2'>5.</span><span className='dofferSty6'></span><span className='dofferSty2'>您愿意接受以上所有条款并愿意接受公司经协商后的工作安排。</span></p><p className='dofferSty1'><span className='dofferSty2'>6.</span><span className='dofferSty6'></span><span className='dofferSty2'>如您未能通过公司要求的背景调查；或入职报到时，您个人须提供的资料不齐全或虚假的（注：情况特殊者，可事先向人力资源部说明具体情况，报公司审批。），本工作意向协议书自动失效。</span></p><p className='dofferSty1'><span className='dofferSty2'>7.</span><span className='dofferSty6'></span><span className='dofferSty2'>如果在试用期内您被证明不符合录用条件，公司可立即无偿解除劳动合同。</span></p>
                                <p className='dofferSty1'><span className='dofferSty2 dofferSty4'>以上</span><span className='dofferSty2 dofferSty4'>1~5任意条件未满足的，本工作意向协议书自动终止与失效。如与本人已签订相关协议或合同，部分条款或全部条款也自动失效。</span></p><p className='dofferSty5'><span className='dofferSty2 dofferSty3'>五、</span><span className='dofferSty2 dofferSty3'>特别约定：</span></p><p className='dofferSty1'><span className='dofferSty2'>1.</span><span className='dofferSty6'></span><span className='dofferSty2'>受雇唯一性和保密承诺</span></p>
                                <p className='dofferSty1'><span className='dofferSty2'>（</span><span className='dofferSty2'>1）受雇唯一性：您在入职公司时不得与任何第三方单位存在劳动关系；入职后未经公司</span><span className='dofferSty2'>书面同意，也不得在任何时间（包括但不仅限于工作时间）、任何地点与任何第三方单位建立劳动关系（即兼职行为），违反此规定视为严重违反公司规章制度，公司可立即无偿解除劳动合同。</span></p><p className='dofferSty1'><span className='dofferSty2'>（</span><span className='dofferSty2'>2）保密：您有义务对您的薪资进行保密，不得泄露或告知给公司其他同事；也不得私下打探其他同事的薪资；也不得将本录用邀请函的全部或部分内容透露给任何第三方，违反此规定视为严重违反公司规章制度，公司可立即无偿解除劳动合同.</span></p><p className='dofferSty1'><span className='dofferSty2'>请您在本协议的正本复本签名进行确认，并将复本交还给新潮传媒。</span></p>
                                <p className='dofferSty1'><span className='dofferSty2'>我们期待着与您共创新潮传媒美好明天！</span></p><p className='dofferSty10'><span className='dofferSty2 dofferSty3'>新潮传媒集团</span><span className='dofferSty2 dofferSty3'> 人力行政中心</span></p><p className='dofferSty10'><span className='dofferSty2 dofferSty3'>{ begindate }</span></p><p className='dofferSty1'><span className='dofferSty2 dofferSty3'>条款协议声明（邮件等书面回复均可）</span></p><p className='dofferSty1'><span className='dofferSty2'>本人同意并接受以上所列之条款与内容。</span></p><p className='dofferSty1'><span className='dofferSty2'>姓名</span><span className='dofferSty2'>:</span></p><p className='dofferSty1'><span className='dofferSty2'>签字</span><span className='dofferSty2'>: </span><span className='dofferSty2'>                                          </span><span className='dofferSty2'>日期: </span></p><p className='dofferSty1'><span className='dofferSty2'>&#xa0;</span></p>
                                <p className='dofferSty7 dofferSty8'><span className='dofferSty2 dofferSty3'>报到注意事项</span></p><p className='dofferSty1'><span className='dofferSty2'>现通知您于约定时间到新潮传媒办理报到手续。</span></p><p className='dofferSty1'><span className='dofferSty2'>联系人：</span>
                                    <span className='dofferSty2 dofferSty4'>【 </span><NCFormControl onChange={(value)=>{ this.onChangeglbdef(value,6)} } className='dofferSty2 dofferSty4 dofferStyW50' value={ glbdef6 } /><span className='dofferSty2 dofferSty4'>】</span><span className='dofferSty2'>（联系方式：</span>
                                    <span className='dofferSty2 dofferSty4'>【 </span><NCFormControl onChange={(value)=>{ this.onChangeglbdef(value,7)} } className='dofferSty2 dofferSty4 dofferStyW50' value={ glbdef7 } /><span className='dofferSty2 dofferSty4'>】</span><span className='dofferSty2'>）。</span></p><p className='dofferSty5'><span className='dofferSty2 dofferSty3'>一、</span><span className='dofferSty2 dofferSty3'>请您务必提前仔细阅读以下内容，以便顺利办理报到手续：</span></p><p className='dofferSty5'><span className='dofferSty2'>○</span><span className='dofferSty9'>&#xa0;&#xa0;&#xa0;&#xa0;</span><span className='dofferSty2'>身份证正本（查看）及正反面复印件</span><span className='dofferSty2'> 2 份（收取）</span></p>
                                <p className='dofferSty5'><span className='dofferSty2'>○</span><span className='dofferSty9'>&#xa0;&#xa0;&#xa0;&#xa0;</span><span className='dofferSty2'>最高学历毕业证明正本（查看）及复印件</span><span className='dofferSty2'> 1 份（收取）</span></p><p className='dofferSty5'><span className='dofferSty2'>○</span><span className='dofferSty9'>&#xa0;&#xa0;&#xa0;&#xa0;</span><span className='dofferSty2'>如有其他职业资格证书请提供正本（查看）及复印件</span><span className='dofferSty2'> 1 份（收取）</span></p><p className='dofferSty5'><span className='dofferSty2'>○</span><span className='dofferSty9'>&#xa0;&#xa0;&#xa0;&#xa0;</span><span className='dofferSty2'>1 寸标准照片 2 张</span></p><p className='dofferSty5'><span className='dofferSty2'>○</span><span className='dofferSty9'>&#xa0;&#xa0;&#xa0;&#xa0;</span><span className='dofferSty2'>前单位解除劳动合同的证明原件（收取）</span></p><p className='dofferSty5'><span className='dofferSty2'>○</span><span className='dofferSty9'>&#xa0;&#xa0;&#xa0;&#xa0;</span><span className='dofferSty2'>体检证明原件（近</span><span className='dofferSty2'>1个月）</span></p>
                                <p className='dofferSty5'><span className='dofferSty2'>○</span><span className='dofferSty9'>&#xa0;&#xa0;&#xa0;&#xa0;</span>
                                    <span className='dofferSty2 dofferSty4'>【 </span><NCFormControl onChange={(value)=>{ this.onChangeglbdef(value,8)} } className='dofferSty2 dofferSty4 dofferStyW50' value={ glbdef8 } /><span className='dofferSty2 dofferSty4'>     </span><span className='dofferSty2 dofferSty4'>】</span><span className='dofferSty2'>银行卡（自行办理）复印件2张（收取）</span></p>
                                <p className='dofferSty5'><span className='dofferSty2'>○</span><span className='dofferSty9'>&#xa0;&#xa0;&#xa0;&#xa0;</span><span className='dofferSty2'>社保、公积金购买状况（卡或资料等）</span></p><p className='dofferSty5'><span className='dofferSty2'>○</span><span className='dofferSty9'>&#xa0;&#xa0;&#xa0;&#xa0;</span><span className='dofferSty2'>户口本复印件（户主页及本人页）</span></p><p className='dofferSty5'><span className='dofferSty2'>○</span><span className='dofferSty9'>&#xa0;&#xa0;&#xa0;&#xa0;</span><span className='dofferSty2'>银行流水、征信证明、完税证明</span></p><p className='dofferSty5'><span className='dofferSty2 dofferSty3'>二、</span><span className='dofferSty2 dofferSty3'>体检报告</span></p><p className='dofferSty5'><span className='dofferSty2'>○</span><span className='dofferSty9'>&#xa0;&#xa0;&#xa0;&#xa0;</span><span className='dofferSty2'>以入职时间计算</span><span className='dofferSty2'> 1 个月内正规医疗机构体检报告。</span></p>
                                <p className='dofferSty5'><span className='dofferSty2 dofferSty3'>三、</span><span className='dofferSty2 dofferSty3'>须知：</span></p><p className='dofferSty1'><span className='dofferSty2'>公司地址：</span>
                                    <span className='dofferSty2 dofferSty4'>【 </span><NCFormControl onChange={(value)=>{ this.onChangeglbdef(value,9)} } className='dofferSty2 dofferSty4 dofferStyW50' value={ glbdef9 } /><span className='dofferSty2 dofferSty4'>】</span></p><p className='dofferSty1'><span className='dofferSty2'>网站地址：</span><span className='dofferSty2'>www.xinchao.com</span></p>
                                <p className='dofferSty1'><span className='dofferSty2'>联系方式：</span>
                                    <span className='dofferSty2 dofferSty4'>【 </span><NCFormControl onChange={(value)=>{ this.onChangeglbdef(value,10)} } className='dofferSty2 dofferSty4 dofferStyW50' value={ glbdef10 } /><span className='dofferSty2 dofferSty4'>】</span></p>
                                <p className='dofferSty1'><span className='dofferSty2'>工作时间：五天工作制。工作时间：上午</span><span className='dofferSty2'> 9:00-12:00，下午 13:30-18:00。其中 12:00-13:30 为午餐、休息时间（午餐自理，建议个人自带餐具）</span></p><p className='dofferSty1'><span className='dofferSty2'>&#xa0;</span></p>
                            </div>
                        : glbdef13 == "02" ?
                            <div>
                            <h3 style={{ fontSize:'16px',textAlign:'center' }}><span style={{ fontSize:'16px',fontWeight:'bold' }}>成都新潮传媒集团工作意向协议书</span></h3>
                                <p className='dofferSty2 dofferSty13'><span className='dofferSty2 dofferSty3'>{ currentName || "--" }</span><span className='dofferSty2'>      </span><span className='dofferSty2'>女士/先生 ：</span></p>
                                <p className='dofferSty11'><span className='dofferSty2'>您好！</span></p>
                                <p className='dofferSty11'><span className='dofferSty2'>非常高兴向您发出成都新潮传媒集团（以下简称：新潮传媒）的工作意向协议书，具体内容如下：</span></p>
                                <p className='dofferSty14'><span className='dofferSty2 dofferSty3'>一、</span><span className='dofferSty2 dofferSty3'>工作意向协议书有效期限：</span>
                                    <span className='dofferSty2 dofferSty4'>【 </span><NCFormControl onChange={(value)=>{ this.onChangeglbdef(value,1)} } className='dofferSty2 dofferSty4 dofferStyW50' value={ glbdef1 } /><span className='dofferSty2 dofferSty4'>】</span></p>
                                <p className='dofferSty5'><span className='dofferSty2 dofferSty3'>二、</span><span className='dofferSty2 dofferSty3'>劳动合同签订期限：</span>
                                    <span className='dofferSty2 dofferSty4'>【</span><NCFormControl onChange={(value)=>{ this.onChangeglbdef(value,2)} } className='dofferSty2 dofferSty4 dofferStyW50' value={ glbdef2 } /><span className='dofferSty2 dofferSty4'>】</span><span className='dofferSty2'>年</span></p>
                                <p className='dofferSty5'><span className='dofferSty2 dofferSty3'>三、</span><span className='dofferSty2 dofferSty3'>协议约定：</span></p>
                                <p className='dofferSty11'><span className='dofferSty2'>为便于您更好的融入新潮团队，特为您安排入职导师 {mamName}</span><span className='dofferSty2'> </span><span className='dofferSty2'> </span><span className='dofferSty2'>     </span><span className='dofferSty2'>（联系方式：</span><span className='dofferSty2'>{mobile} </span><span className='dofferSty2'> ），您关于公司、工作内容、业务资料等各类疑惑都可向导师咨询。</span></p>
                                <p className='dofferSty11'><span className='dofferSty2'>岗位名称：</span><span className='dofferSty2'> </span></p>
                                <p className='dofferSty11'><span className='dofferSty2'>所属团队：</span><span className='dofferSty2'> </span></p>
                                <p className='dofferSty11'><span className='dofferSty2'>汇报关系：</span><span className='dofferSty2'> </span></p>
                                <p className='dofferSty11'><span className='dofferSty2'>岗位职责：另附</span></p>
                                <p className='dofferSty11'><span className='dofferSty2'>薪酬待遇：月度薪酬试用期为工资</span>
                                    <span className='dofferSty2 dofferSty4'>【</span><NCFormControl onChange={(value)=>{ this.onChangeglbdef(value,3)} } className='dofferSty2 dofferSty4 dofferStyW50' value={ glbdef3 } /><span className='dofferSty2 dofferSty4'>    </span><span className='dofferSty2 dofferSty4'>  </span><span className='dofferSty2 dofferSty4'>】</span><span className='dofferSty2'>元，转正工资为</span>
                                    <span className='dofferSty2 dofferSty4'>【</span><NCFormControl onChange={(value)=>{ this.onChangeglbdef(value,4)} } className='dofferSty2 dofferSty4 dofferStyW50' value={ glbdef4 } /><span className='dofferSty2 dofferSty4'>    </span><span className='dofferSty2 dofferSty4'>  </span><span className='dofferSty2 dofferSty4'>】</span>
                                        <span className='dofferSty2'>元。聘用期间公司将为您在公司所取得的工资薪金代扣代缴。个人所得税，税金由个人承担。绩效奖金和股权激励等激励性收入根据公司政策另行执行。</span></p>
                                <p className='dofferSty11'><span className='dofferSty2'>福利待遇：五险一金、幸福公社奖品、员工旅游、节假日礼品、入职。纪念日</span><span className='dofferSty2'>/生日礼品、员工互助关爱奖金、健康体检等福利，具体根据公司福利政策执行。</span></p>
                                <p className='dofferSty11'><span className='dofferSty2'>年假/休假：不低于国家法定节假日和按照公司人力资源政策执行。</span></p>
                                <p className='dofferSty11'><span className='dofferSty2'>工作时间：每周五天（</span><span className='dofferSty2'>40 小时）工作制，周末双休。另外如果因工作需要，您可能会灵活</span><span className='dofferSty2'>安排工作时间。</span></p>
                                <p className='dofferSty11'><span className='dofferSty2'>培训学习：根据您的岗位与工作要求，公司将提供学习资源帮助您更好地学习与成长。</span></p>
                                <p className='dofferSty11'><span className='dofferSty2'>到岗时间：</span>
                                    <span className='dofferSty2 dofferSty4'>【 </span><div style={{display:'inline-block'}}><NCDatePicker onChange={(value) => { this.onChangeglbdef(value, 5) }} className='dofferSty2 dofferSty4 dofferStyW50' value={glbdef5} /></div><span className='dofferSty2 dofferSty4'>】</span></p>
                                <p className='dofferSty5'><span className='dofferSty2 dofferSty3'>四、</span><span className='dofferSty2 dofferSty3'>工作意向协议书正式生效条件：</span></p>
                                <p className='dofferSty11'><span className='dofferSty2'>1.</span><span className='dofferSty6'></span><span className='dofferSty2'>在“工作意向协议书有效期限”内正式书面回复；</span></p>
                                <p className='dofferSty11'><span className='dofferSty2'>2.</span><span className='dofferSty6'></span><span className='dofferSty2'>您的身体健康状况符合相关标准；</span></p>
                                <p className='dofferSty11'><span className='dofferSty2'>3.</span><span className='dofferSty6'></span><span className='dofferSty2'>您提供的简历及相关资料（如工作经历、任职经历、学历或资格证书等）均为真实、有效；</span></p>
                                <p className='dofferSty11'><span className='dofferSty2'>4.</span><span className='dofferSty6'></span><span className='dofferSty2'>您能够在约定时限内到公司报到；</span></p>
                                <p className='dofferSty11'><span className='dofferSty2'>5.</span><span className='dofferSty6'></span><span className='dofferSty2'>您愿意接受以上所有条款并愿意接受公司经协商后的工作安排。</span></p>
                                <p className='dofferSty11 dofferSty12'><span className='dofferSty2 dofferSty4'>以上任意条件未满足的，本工作意向协议书自动终止与失效。如与本人已签订相关协议或合同，部分条款或全部条款也自动失效。</span></p>
                                <p className='dofferSty11'><span className='dofferSty2'>请您在本协议的正本复本签名进行确认，并将复本交还给新潮传媒。</span></p>
                                <p className='dofferSty11'><span className='dofferSty2'>我们期待着与您共创新潮传媒美好明天！</span></p>
                                <p className='dofferSty10'><span className='dofferSty2 dofferSty3'>新潮传媒集团</span><span className='dofferSty2 dofferSty3'> 人力行政中心</span></p>
                                <p className='dofferSty10'><span className='dofferSty2 dofferSty3'>{ begindate }</span></p>
                                <p className='dofferSty11'><span className='dofferSty2 dofferSty3'>条款协议声明（邮件等书面回复均可）</span></p>
                                <p className='dofferSty11'><span className='dofferSty2'>本人同意并接受以上所列之条款与内容。</span></p>
                                <p className='dofferSty11'><span className='dofferSty2'>姓名</span><span className='dofferSty2'>:</span></p>
                                <p className='dofferSty11'><span className='dofferSty2'>签字</span><span className='dofferSty2'>: </span><span className='dofferSty2'>                                    </span><span className='dofferSty2'>日期: </span></p><p className='dofferSty7 dofferSty8'><span className='dofferSty2 dofferSty3'>&#xa0;</span></p>
                                <p className='dofferSty7 dofferSty8'><span className='dofferSty2 dofferSty3'>报到注意事项</span></p>
                                <p className='dofferSty11'><span className='dofferSty2'>现通知您于约定时间到新潮传媒办理报到手续。</span></p>
                                <p className='dofferSty11'><span className='dofferSty2'>联系人：</span>
                                    <span className='dofferSty2 dofferSty4'>【 </span><NCFormControl onChange={(value)=>{ this.onChangeglbdef(value,6)} } className='dofferSty2 dofferSty4 dofferStyW50' value={ glbdef6 } /><span className='dofferSty2 dofferSty4'>】</span><span className='dofferSty2'>（联系方式：</span>
                                    <span className='dofferSty2 dofferSty4'>【 </span><NCFormControl onChange={(value)=>{ this.onChangeglbdef(value,7)} } className='dofferSty2 dofferSty4 dofferStyW50' value={ glbdef7 } /><span className='dofferSty2 dofferSty4'>】</span><span className='dofferSty2'>）。</span></p>
                                <p className='dofferSty5'><span className='dofferSty2 dofferSty3'>一、</span><span className='dofferSty2 dofferSty3'>请您务必提前仔细阅读以下内容，以便顺利办理报到手续：</span></p>
                                <p className='dofferSty5'><span className='dofferSty2'>○</span><span className='dofferSty9'>&#xa0;&#xa0;&#xa0;&#xa0;</span><span className='dofferSty2'>身份证正本（查看）及正反面复印件 2 份（收取）</span></p>
                                <p className='dofferSty5'><span className='dofferSty2'>○</span><span className='dofferSty9'>&#xa0;&#xa0;&#xa0;&#xa0;</span><span className='dofferSty2'>最高学历毕业证明正本（查看）及复印件 1 份（收取）</span></p>
                                <p className='dofferSty5'><span className='dofferSty2'>○</span><span className='dofferSty9'>&#xa0;&#xa0;&#xa0;&#xa0;</span><span className='dofferSty2'>如有其他职业资格证书请提供正本（查看）及复印件 1 份（收取）</span></p>
                                <p className='dofferSty5'><span className='dofferSty2'>○</span><span className='dofferSty9'>&#xa0;&#xa0;&#xa0;&#xa0;</span><span className='dofferSty2'>1 寸标准照片 2 张</span></p>
                                <p className='dofferSty5'><span className='dofferSty2'>○</span><span className='dofferSty9'>&#xa0;&#xa0;&#xa0;&#xa0;</span><span className='dofferSty2'>前单位解除劳动合同的证明原件（收取）</span></p>
                                <p className='dofferSty5'><span className='dofferSty2'>○</span><span className='dofferSty9'>&#xa0;&#xa0;&#xa0;&#xa0;</span><span className='dofferSty2'>体检证明原件（近1个月）</span></p>
                                <p className='dofferSty5'><span className='dofferSty2'>○</span><span className='dofferSty9'>&#xa0;&#xa0;&#xa0;&#xa0;</span>
                                    <span className='dofferSty2 dofferSty4'>【 </span><NCFormControl onChange={(value)=>{ this.onChangeglbdef(value,8)} } className='dofferSty2 dofferSty4 dofferStyW50' value={ glbdef8 } /><span className='dofferSty2 dofferSty4'>】</span><span className='dofferSty2'>银行卡（自行办理）复印件2张（收取）</span></p>
                                <p className='dofferSty5'><span className='dofferSty2'>○</span><span className='dofferSty9'>&#xa0;&#xa0;&#xa0;&#xa0;</span><span className='dofferSty2'>社保、公积金购买状况（卡或资料等）</span></p>
                                <p className='dofferSty5'><span className='dofferSty2'>○</span><span className='dofferSty9'>&#xa0;&#xa0;&#xa0;&#xa0;</span><span className='dofferSty2'>户口本复印件（户主页及本人页）</span></p>
                                <p className='dofferSty5'><span className='dofferSty2 dofferSty3'>二、</span><span className='dofferSty2 dofferSty3'>须知：</span></p>
                                <p className='dofferSty11'><span className='dofferSty2'>公司地址：</span>
                                    <span className='dofferSty2 dofferSty4'>【 </span><NCFormControl onChange={(value)=>{ this.onChangeglbdef(value,9)} } className='dofferSty2 dofferSty4 dofferStyW50' value={ glbdef9 } /><span className='dofferSty2 dofferSty4'>】</span></p>
                                <p className='dofferSty11'><span className='dofferSty2'>网站地址：</span><span className='dofferSty2'>www.xinchao.com</span></p>
                                <p className='dofferSty11'><span className='dofferSty2'>联系方式：</span>
                                    <span className='dofferSty2 dofferSty4'>【 </span><NCFormControl onChange={(value)=>{ this.onChangeglbdef(value,10)} } className='dofferSty2 dofferSty4 dofferStyW50' value={ glbdef10 } /><span className='dofferSty2 dofferSty4'>】</span></p>
                                <p className='dofferSty11'><span className='dofferSty2'>工作时间：五天工作制。工作时间：上午</span><span className='dofferSty2'> 9:00-12:00，下午 13:30-18:00。其中 12:00-13:30 为午餐、休息时间（午餐自理，建议个人自带餐具）</span></p>
                                <p className='dofferSty1'><span className='dofferSty2'>&#xa0;</span></p>
                            </div>
                        : glbdef13 == "01" ?
                            <div>
                                <h3 style={{ fontSize:'16px',textAlign:'center' }}><span style={{ fontSize:'16px',fontWeight:'bold' }}>成都新潮传媒集团工作意向协议书</span></h3>
                                    <p className='dofferSty2'><span className='dofferSty2 dofferSty3'>{ currentName || "--" }</span><span className='dofferSty2'>   </span><span className='dofferSty2'>女士/先生 ：</span></p>
                                    <p className='dofferSty1'><span className='dofferSty2'>您好！</span></p>
                                    <p className='dofferSty1'><span className='dofferSty2'>非常</span><span className='dofferSty2'>高兴向您发出</span><span className='dofferSty2 dofferSty3'>成都新潮传媒集团</span><span className='dofferSty2'>（以下简称：</span><span className='dofferSty2 dofferSty3'>新潮传媒</span><span className='dofferSty2'>）的工作意向协议书，具体内容如下：</span></p>
                                    <p className='dofferSty5'><span className='dofferSty2 dofferSty3'>一、</span><span className='dofferSty2 dofferSty3'>工作意向协议书有效期限：</span>
                                        <span className='dofferSty2 dofferSty4'>【 </span><NCFormControl onChange={(value)=>{ this.onChangeglbdef(value,1)} } className='dofferSty2 dofferSty4 dofferStyW50' value={ glbdef1 } /><span className='dofferSty2 dofferSty4'>】</span></p>
                                    <p className='dofferSty5'><span className='dofferSty2 dofferSty3'>二、</span><span className='dofferSty2 dofferSty3'>劳动合同签订期限：</span>
                                        <span className='dofferSty2 dofferSty4'>【</span><NCFormControl onChange={(value)=>{ this.onChangeglbdef(value,2)} } className='dofferSty2 dofferSty4 dofferStyW50' value={ glbdef2 } /><span className='dofferSty2 dofferSty4'>】</span><span className='dofferSty2 dofferSty3'>年</span></p>
                                    <p className='dofferSty5'><span className='dofferSty2 dofferSty3'>三、</span><span className='dofferSty2 dofferSty3'>协议约定：</span></p>
                                        <p className='dofferSty11'><span className='dofferSty2'>为便于您更好的融入新潮团队，特为</span><span className='dofferSty2'>您安排入</span><span className='dofferSty2'>{mamName}</span><span className='dofferSty2'> </span><span className='dofferSty2'> </span><span className='dofferSty2'>     </span><span className='dofferSty2'>（联系方式：</span><span className='dofferSty2'>{mobile} </span><span className='dofferSty2'>），您关于公司、工作内容、业务资料等各类疑惑都可向导师咨询。</span></p>
                                        <p className='dofferSty11'><span className='dofferSty2'>岗位名称：</span><span className='dofferSty2'> </span></p>
                                        <p className='dofferSty11'><span className='dofferSty2'>所属团队：</span><span className='dofferSty2'> </span></p>
                                        <p className='dofferSty11'><span className='dofferSty2'>汇报关系：</span><span className='dofferSty2'> </span></p>
                                        <p className='dofferSty11'><span className='dofferSty2'>岗位职责：另附</span></p>
                                        <p className='dofferSty11'><span className='dofferSty2'>薪酬待遇：月度薪酬试用期为工资</span>
                                            <span className='dofferSty2 dofferSty4'>【</span><NCFormControl onChange={(value)=>{ this.onChangeglbdef(value,3)} } className='dofferSty2 dofferSty4 dofferStyW50' value={ glbdef3 } /><span className='dofferSty2 dofferSty4'>    </span><span className='dofferSty2 dofferSty4'>  </span><span className='dofferSty2 dofferSty4'>】</span>
                                            <span className='dofferSty2'>元，转正工资为</span>
                                            <span className='dofferSty2 dofferSty4'>【</span><NCFormControl onChange={(value)=>{ this.onChangeglbdef(value,4)} } className='dofferSty2 dofferSty4 dofferStyW50' value={ glbdef4 } /><span className='dofferSty2 dofferSty4'>    </span><span className='dofferSty2 dofferSty4'>  </span><span className='dofferSty2 dofferSty4'>】</span>
                                            <span className='dofferSty2'>元。聘用期间公司将为您在公司所取得的工资薪金代扣代缴。个人所得税，税金由个人承担。绩效奖金和股权激励等激励性收入根据公司政策另行执行。</span></p>
                                            <p className='dofferSty11'><span className='dofferSty2'>福利待遇：五险一金、幸福公社奖品、员工旅游、节假日礼品、入职。纪念日/生日礼品、员工互助关爱奖金、健康体检等福利，具体根据公司福利政策执行。</span></p>
                                            <p className='dofferSty11'><span className='dofferSty2'>年假/休假：不低于国家法定节假日和按照公司人力资源政策执行。</span></p>
                                            <p className='dofferSty11'><span className='dofferSty2'>工作时间：每周五天（</span><span className='dofferSty2'>40 小时）工作制，周末双休。另外如果因工作需要，您可能会灵活安排工作时间。</span></p>
                                            <p className='dofferSty11'><span className='dofferSty2'>培训学习：根据您的岗位与工作要求，公司将提供学习资源帮助您更好地学习与成长。</span></p>
                                            <p className='dofferSty11'><span className='dofferSty2'>到岗时间：</span>
                                                <span className='dofferSty2 dofferSty4'>【 </span><div style={{display:'inline-block'}}><NCDatePicker onChange={(value) => { this.onChangeglbdef(value, 5) }} className='dofferSty2 dofferSty4 dofferStyW50' value={glbdef5} /></div><span className='dofferSty2 dofferSty4'>】</span></p>
                                    <p className='dofferSty5'><span className='dofferSty2 dofferSty3'>四、</span><span className='dofferSty2 dofferSty3'>工作意向协议书正式生效条件：</span></p>
                                        <p className='dofferSty11'><span className='dofferSty2'>1.</span><span className='dofferSty6'></span><span className='dofferSty2'>在“工作意向协议书有效期限”内正式书面回复；</span></p>
                                        <p className='dofferSty11'><span className='dofferSty2'>2.</span><span className='dofferSty6'></span><span className='dofferSty2'>您的身体健康状况符合相关标准；</span></p>
                                        <p className='dofferSty11'><span className='dofferSty2'>3.</span><span className='dofferSty6'></span><span className='dofferSty2'>您提供的简历及相关资料（如工作经历、任职经历、学历或资格证书等）均为真实、有效；</span></p>
                                        <p className='dofferSty11'><span className='dofferSty2'>4.</span><span className='dofferSty6'></span><span className='dofferSty2'>您能够在约定时限内到公司报到；</span></p>
                                        <p className='dofferSty11'><span className='dofferSty2'>5.</span><span className='dofferSty6'></span><span className='dofferSty2'>您愿意接受以上所有条款并愿意接受公司经协商后的工作安排。</span></p>
                                        <p className='dofferSty11'><span className='dofferSty2 dofferSty12'>以上任意条件未满足的，本工作意向协议书自动终止与失效。如与本人已签订相关协议或合同，部分条款或全部条款也自动失效。</span></p>
                                        <p className='dofferSty11'><span className='dofferSty2'>请您在本协议的正本复本签名进行确认，并将复本交还给新潮传媒。</span></p>
                                        <p className='dofferSty11'><span className='dofferSty2'>我们期待着与您共创新潮传媒美好明天！</span></p>
                                            <p className='dofferSty10'><span className='dofferSty2 dofferSty3'>新潮传媒集团</span><span className='dofferSty2 dofferSty3'> 人事行政中心</span></p>
                                            <p className='dofferSty10'><span className='dofferSty2 dofferSty3'>{ begindate }</span></p>
                                    <p className='dofferSty11'><span className='dofferSty2'>条款协议声明（邮件等书面回复均可）</span></p>
                                    <p className='dofferSty11'><span className='dofferSty2'>本人同意并接受以上所列之条款与内容。</span></p>
                                    <p className='dofferSty11'><span className='dofferSty2'>姓名</span><span className='dofferSty2'>:</span></p>
                                    <p className='dofferSty11'><span className='dofferSty2'>签字</span><span className='dofferSty2'>: </span><span className='dofferSty2'>                                        </span><span className='dofferSty2'>日期: </span></p>
                                    <p className='dofferSty11'><span className='dofferSty2 dofferSty3'>&#xa0;</span></p>
                                    <p className='dofferSty7 dofferSty8'><span className='dofferSty2 dofferSty3'>报到注意事项</span></p>
                                        <p className='dofferSty11'><span className='dofferSty2'>现通知您于约定时间到新潮传媒办理报到手续。</span></p>
                                        <p className='dofferSty11'><span className='dofferSty2'>联系人：</span>
                                            <span className='dofferSty2 dofferSty4'>【 </span><NCFormControl onChange={(value)=>{ this.onChangeglbdef(value,6)} } className='dofferSty2 dofferSty4 dofferStyW50' value={ glbdef6 } /><span className='dofferSty2 dofferSty4'>】</span>
                                            <span className='dofferSty2'>（联系方式：</span><span className='dofferSty2 dofferSty4'>【 </span><NCFormControl onChange={(value)=>{ this.onChangeglbdef(value,7)} } className='dofferSty2 dofferSty4 dofferStyW50' value={ glbdef7 } /><span className='dofferSty2 dofferSty4'>】</span><span className='dofferSty2'>）。</span></p>
                                        <p className='dofferSty5 dofferSty11'><span className='dofferSty2 dofferSty3'>一、</span><span className='dofferSty2 dofferSty3'>请您务必提前仔细阅读以下内容，以便顺利办理报到手续：</span></p>
                                        <p className='dofferSty5'><span className='dofferSty2'>○</span><span className='dofferSty9'>&#xa0;&#xa0;&#xa0;&#xa0;</span><span className='dofferSty2'>身份证正本（查看）及正反面复印件 2 份（收取）</span></p>
                                        <p className='dofferSty5'><span className='dofferSty2'>○</span><span className='dofferSty9'>&#xa0;&#xa0;&#xa0;&#xa0;</span><span className='dofferSty2'>最高学历毕业证明正本（查看）及复印件 1 份（收取）</span></p>
                                        <p className='dofferSty5'><span className='dofferSty2'>○</span><span className='dofferSty9'>&#xa0;&#xa0;&#xa0;&#xa0;</span><span className='dofferSty2'>如有其他职业资格证书请提供正本（查看）及复印件 1 份（收取）</span></p>
                                        <p className='dofferSty5'><span className='dofferSty2'>○</span><span className='dofferSty9'>&#xa0;&#xa0;&#xa0;&#xa0;</span><span className='dofferSty2'>1 寸标准</span><span className='dofferSty2'>照片 2 张</span></p>
                                        <p className='dofferSty5'><span className='dofferSty2'>○</span><span className='dofferSty9'>&#xa0;&#xa0;&#xa0;&#xa0;</span><span className='dofferSty2'>前单位解除劳动合同的证明原件（收取）</span></p>
                                        <p className='dofferSty5'><span className='dofferSty2'>○</span><span className='dofferSty9'>&#xa0;&#xa0;&#xa0;&#xa0;</span><span className='dofferSty2'>体检证明原件（近1个月）</span></p>
                                        <p className='dofferSty5'><span className='dofferSty2'>○</span><span className='dofferSty9'>&#xa0;&#xa0;&#xa0;&#xa0;</span><span className='dofferSty2 dofferSty4'>【 </span><NCFormControl onChange={(value)=>{ this.onChangeglbdef(value,8)} } className='dofferSty2 dofferSty4 dofferStyW50' value={ glbdef8 } /><span className='dofferSty2 dofferSty4'>     </span><span className='dofferSty2 dofferSty4'>】</span><span className='dofferSty2'>银行卡（自行办理）复印件2张（收取）</span></p>
                                        <p className='dofferSty5'><span className='dofferSty2'>○</span><span className='dofferSty9'>&#xa0;&#xa0;&#xa0;&#xa0;</span><span className='dofferSty2'>社保、公积金购买状况（卡或资料等）</span></p>
                                        <p className='dofferSty5'><span className='dofferSty2'>○</span><span className='dofferSty9'>&#xa0;&#xa0;&#xa0;&#xa0;</span><span className='dofferSty2'>户口本复印件（户主页及本人页）</span></p>
                                    <p className='dofferSty11'><span className='dofferSty2 dofferSty3'>二、</span><span className='dofferSty2 dofferSty3'>须知：</span></p>
                                        <p className='dofferSty11'><span className='dofferSty2'>公司地址：</span><span className='dofferSty2 dofferSty4'>【 </span><NCFormControl onChange={(value)=>{ this.onChangeglbdef(value,9)} } className='dofferSty2 dofferSty4 dofferStyW50' value={ glbdef9 } /><span className='dofferSty2 dofferSty4'>】</span></p>
                                        <p className='dofferSty11'><span className='dofferSty2'>网站地址：</span><span className='dofferSty2'>www.xinchao.com</span></p>
                                        <p className='dofferSty11'><span className='dofferSty2'>联系方式：</span><span className='dofferSty2 dofferSty4'>【 </span><NCFormControl onChange={(value)=>{ this.onChangeglbdef(value,10)} } className='dofferSty2 dofferSty4 dofferStyW50' value={ glbdef10 } /><span className='dofferSty2 dofferSty4'>】</span></p>
                                        <p className='dofferSty11'><span className='dofferSty2'>工作时间：五天工作制。工作时间：上午</span><span className='dofferSty2'> 9:00-12:00，下午 13:30-18:00。其中 12:00-13:30 为午餐、休息时间（午餐自理，建议个人自带餐具）</span></p>
                                <p className='dofferSty1'><span className='dofferSty2'>&#xa0;</span></p></div>
                        :
                        <div>找不到对应模板</div>
                        }
                    </NCModal.Body>

                    <NCModal.Footer>
                        <NCButton onClick={this.dialogSure} bordered>
                        确定
                        </NCButton>
                        <NCButton onClick={this.close2} colors="secondary" style={{ marginRight: 8 }}>
                        取消
                        </NCButton>
                    </NCModal.Footer>
                </NCModal>
            </div>
        )
    }
 }